package com.lidong.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.lidong.service.SayService;

/**
 * @Description : 
 * @Author : lidong
 * @Date : 2017年11月9日
 */
@RestController
public class SayController {

	@Autowired
	private SayService sayService;
	
	@RequestMapping("/say")
	public String say(@RequestParam String name) {
		return sayService.say(name);
	}
	
}
